#pragma once

#include <windows.h>
#include <ostream>

class StreamWriter
{
public:
	static void WriteByte(std::ostream &os, BYTE val);
	static void WriteChar(std::ostream &os, char val);
	static void WriteInt(std::ostream &os, int val);
	static void WriteFloat(std::ostream &os, float val);
	static void WriteDword(std::ostream &os, DWORD val);
	static void WriteBuffer(std::ostream &os, void *val, int size);
};
